home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •AdventureLand• / Adventures / HyperQuest 1.03 ••• / HyperQuest 1.03 еее / card_28895.txt < prev    next >
Text File  |  1990-10-02  |  5KB  |  236 lines

  1. -- card: 28895 from stack: in.03 –µ–µ–µ
  2. -- bmap block id: 6480
  3. -- flags: 0000
  4. -- background id: 2766
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on openCard
  8.   send cardOpened to background
  9. end openCard
  10.  
  11. on move
  12.   global direction,blastDam,holeDam,chase,blasting
  13.   if direction = "west" or direction = "rear" then
  14.     if blastDam then
  15.       go to card id 26754
  16.       exit move
  17.     else
  18.       go to card id 27307
  19.       exit move
  20.     end if
  21.   end if
  22.   if direction = "up" and holeDam then
  23.     go to card id 28289
  24.     exit move
  25.   end if
  26.   pass move
  27. end move
  28.  
  29.  
  30. on closeCard
  31.   set the cursor to 4
  32.   put "" into field 3
  33. end closeCard
  34.  
  35. on take
  36.   global object,carried
  37.   -- remember to update carried if you do not pass take
  38.   pass take
  39. end take
  40.  
  41. on drop
  42.   global object,dropRoom,carried
  43.   -- remember to update carried if you do not pass drop
  44.   pass drop
  45. end drop
  46.  
  47. on use
  48.   global object,carried
  49.   -- update carried if use results in loss of object
  50.   pass use
  51. end use
  52.  
  53.  
  54.  
  55.  
  56.  
  57. -- part 16 (button)
  58. -- low flags: 80
  59. -- high flags: 2000
  60. -- rect: left=154 top=195 right=231 bottom=188
  61. -- title width / last selected line: 0
  62. -- icon id / first selected line: 9301 / 9301
  63. -- text alignment: 1
  64. -- font id: 0
  65. -- text size: 12
  66. -- style flags: 0
  67. -- line height: 16
  68. -- part name: knife
  69. ----- HyperTalk script -----
  70. on mouseUp
  71.   global takeFlag,examFlag,object,cardID
  72.   put the name of the target into object
  73.   if takeFlag = true
  74.   then send take to card id cardID
  75. else put "a knife" into field 3
  76. put false into examFlag
  77. end mouseUp
  78.  
  79.  
  80.  
  81. -- part 17 (button)
  82. -- low flags: 80
  83. -- high flags: 2000
  84. -- rect: left=89 top=195 right=231 bottom=123
  85. -- title width / last selected line: 0
  86. -- icon id / first selected line: 1015 / 1015
  87. -- text alignment: 1
  88. -- font id: 0
  89. -- text size: 12
  90. -- style flags: 0
  91. -- line height: 16
  92. -- part name: nodule
  93. ----- HyperTalk script -----
  94. on mouseUp
  95.   global takeFlag,examFlag,object,cardID
  96.   put the name of the target into object
  97.   if takeFlag = true
  98.   then send take to card id cardID
  99. else put "a silicon sphere" into field 3
  100. put false into examFlag
  101. end mouseUp
  102.  
  103.  
  104.  
  105. -- part 18 (button)
  106. -- low flags: 80
  107. -- high flags: 2000
  108. -- rect: left=122 top=195 right=231 bottom=156
  109. -- title width / last selected line: 0
  110. -- icon id / first selected line: 14953 / 14953
  111. -- text alignment: 1
  112. -- font id: 0
  113. -- text size: 12
  114. -- style flags: 0
  115. -- line height: 16
  116. -- part name: ladder
  117. ----- HyperTalk script -----
  118. on mouseUp
  119.   global takeFlag,examFlag,object,cardID
  120.   put the name of the target into object
  121.   if takeFlag = true
  122.   then send take to card id cardID
  123. else put "a rope ladder" into field 3
  124. put false into examFlag
  125. end mouseUp
  126.  
  127.  
  128.  
  129. -- part 19 (button)
  130. -- low flags: 80
  131. -- high flags: 2000
  132. -- rect: left=122 top=160 right=196 bottom=156
  133. -- title width / last selected line: 0
  134. -- icon id / first selected line: 1019 / 1019
  135. -- text alignment: 1
  136. -- font id: 0
  137. -- text size: 12
  138. -- style flags: 0
  139. -- line height: 16
  140. -- part name: bomb
  141. ----- HyperTalk script -----
  142. on mouseUp
  143.   global takeFlag,examFlag,object,cardID
  144.   put the name of the target into object
  145.   if takeFlag = true
  146.   then send take to card id cardID
  147. else put "a time bomb" into field 3
  148. put false into examFlag
  149. end mouseUp
  150.  
  151.  
  152.  
  153. -- part 20 (button)
  154. -- low flags: 80
  155. -- high flags: 2000
  156. -- rect: left=89 top=160 right=196 bottom=123
  157. -- title width / last selected line: 0
  158. -- icon id / first selected line: 24317 / 24317
  159. -- text alignment: 1
  160. -- font id: 0
  161. -- text size: 12
  162. -- style flags: 0
  163. -- line height: 16
  164. -- part name: key
  165. ----- HyperTalk script -----
  166. on mouseUp
  167.   global takeFlag,examFlag,object,cardID
  168.   put the name of the target into object
  169.   if takeFlag = true
  170.   then send take to card id cardID
  171. else put "a key" into field 3
  172. put false into examFlag
  173. end mouseUp
  174.  
  175.  
  176.  
  177. -- part 21 (button)
  178. -- low flags: 80
  179. -- high flags: 2000
  180. -- rect: left=122 top=125 right=161 bottom=156
  181. -- title width / last selected line: 0
  182. -- icon id / first selected line: 7012 / 7012
  183. -- text alignment: 1
  184. -- font id: 0
  185. -- text size: 12
  186. -- style flags: 0
  187. -- line height: 16
  188. -- part name: gem
  189. ----- HyperTalk script -----
  190. on mouseUp
  191.   global takeFlag,examFlag,object,cardID
  192.   put the name of the target into object
  193.   if takeFlag = true
  194.   then send take to card id cardID
  195. else put "a glowing gem" into field 3
  196. put false into examFlag
  197. end mouseUp
  198.  
  199.  
  200.  
  201. -- part 22 (button)
  202. -- low flags: 80
  203. -- high flags: 2000
  204. -- rect: left=89 top=125 right=161 bottom=123
  205. -- title width / last selected line: 0
  206. -- icon id / first selected line: 23078 / 23078
  207. -- text alignment: 1
  208. -- font id: 0
  209. -- text size: 12
  210. -- style flags: 0
  211. -- line height: 16
  212. -- part name: orb
  213. ----- HyperTalk script -----
  214. on mouseUp
  215.   global takeFlag,examFlag,object,cardID
  216.   put the name of the target into object
  217.   if takeFlag = true
  218.   then send take to card id cardID
  219. else put "a crystal orb" into field 3
  220. put false into examFlag
  221. end mouseUp
  222.  
  223.  
  224.  
  225. -- part contents for background part 25
  226. ----- text -----
  227. Reservoir
  228. (looking east)
  229.  
  230. -- part contents for background part 24
  231. ----- text -----
  232. You are in the reservoir, which is now empty except for puddles of water in small depressions.  The room is quite large, but the only exit is at the west end.
  233.  
  234. -- part contents for background part 36
  235. ----- text -----
  236. 1